import request from '@/utils/request'

export function listOrderStat (query) {
  return request({
    url: '/biz/bizOrder/listOrderStat',
    method: 'get',
    params: query
  })
}
// 编辑销售明细
export function editOrderStat (data) {
  return request({
    url: '/biz/bizOrderProduct',
    method: 'put',
    data: data
  })
}
// 获取销售明细
export function getOrderStat (id) {
  return request({
    url: '/biz/bizOrderProduct/'+ id,
    method: 'get',
  })
}